package com.example.admin.service;


import com.example.admin.common.Result;
import com.example.admin.entity.User;
import com.example.admin.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {



    @Autowired
    private UserMapper userMapper;

    public List<User> getUserPage() {
        List<User> userPage = userMapper.getUserPage();
        return userPage;
    }


}
